import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';

// 自定义connect
import { StoreContext} from './hoc/index';

import store from './store';
import { Provider } from 'react-redux';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <Provider store={store}>
    <StoreContext.Provider value={store}>
      <App />
    </StoreContext.Provider>
    {/* <App /> */}
  </Provider>

);

